/*
 * 
 */

package AES;

/**
 *
 * @author Sam Jenkins
 */
public class ABinaryTest {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        byte aByte = 2;
        int bits= aByte&0xff; // mask away bits 8 ... 31
        System.out.println(bits);
        
        for (int i = 0; i < 8; i++) {
            //res[7 - i] = (mybyte & (0x01 << i)) >> i;
            //int bits= aByte&0xff; // mask away bits 8 ... 31
        }        
        
        
        
    }

}
